import http from '@/api/request.js'
export function policyUserImg() {
   return  new Promise((resolve,reject)=>{
        http({
            url: http.adornUrl("/thirdparty/oss/plolic/user/img"),
            method: "get",
            params: http.adornParams({})
        }).then(({ data }) => {
            resolve(data);
        })
    });
}

export function policyAdminImg() {
  return  new Promise((resolve,reject)=>{
    http({
      url: http.adornUrl("/thirdparty/oss/plolic/admin/img"),
      method: "get",
      params: http.adornParams({})
    }).then(({ data }) => {
      resolve(data);
    })
  });
}

export function policyBookFile() {
  return  new Promise((resolve,reject)=>{
    http({
      url: http.adornUrl("/thirdparty/oss/plolic/book/file"),
      method: "get",
      params: http.adornParams({})
    }).then(({ data }) => {
      resolve(data);
    })
  });
}

export function policyBookCover() {
  return  new Promise((resolve,reject)=>{
    http({
      url: http.adornUrl("/thirdparty/oss/plolic/book/Cover"),
      method: "get",
      params: http.adornParams({})
    }).then(({ data }) => {
      resolve(data);
    })
  });
}
